package com.link2room.rodimus.facade.impl;


import com.link2room.common.jpa.result.QueryResult;
import com.link2room.common.service.ICommonService;
import com.link2room.rodimus.dto.param.api.RankingListApiParamDto;
import com.link2room.rodimus.dto.result.base.RankingListDto;
import com.link2room.rodimus.facade.IRankingListApiFacadeService;
import com.link2room.rodimus.service.impl.RankingListServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by VegetaKo on 2016/11/20.
 */
@Service("rankingListApiFacadeService")
public class RankingListApiFacadeServiceImpl implements IRankingListApiFacadeService {
    @Resource
    private ICommonService commonService;

    @Resource
    private RankingListServiceImpl ranRankingListService;
    @Override
    public  QueryResult<RankingListDto> getRankingList(RankingListApiParamDto rankingListApiParamDto) throws Exception {

        return ranRankingListService.getRankingList(rankingListApiParamDto);

    }
}
